package net.maku.custom.biza.controller.reveiveable.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import lombok.Data;
import net.maku.framework.common.utils.DateUtils;

/**
* 应收款
*
* @author NULL
* @since 1.0.0 2022-07-12
*/
@Data
@Schema(description = "应收款")
public class ReceivablesVO implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;

    @Schema(description = "入库日期")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date inventoryDate;

    @Schema(description = "提货时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date pickupDate;

    @Schema(description = "提货地点")
    private String pickupDestination;

    @Schema(description = "箱号")
    private String jobNumber;

    @Schema(description = "箱号")
    private String cntNo;

    @Schema(description = "收据单号")
    private String receiptNo;

    @Schema(description = "客户id")
    private Long customerId;

	@Schema(description = "客户名称")
	private String customerName;

	@Schema(description = "电话")
	private String customerMobile;

	@Schema(description = "箱数")
	private String cnts;

	@Schema(description = "实重")
	private String grossWeight;

	@Schema(description = "计费重")
	private String chargeWeight;

    @Schema(description = "计费单位，标明实重、计费重是kg还是立方之类")
    private String grossWeightUnit;

	@Schema(description = "美金单价")
	private String unitPriceUsd;

	@Schema(description = "其他费用-美金")
	private String otherChargeUsd;

	@Schema(description = "美金金额")
	private String totalUsd;

	@Schema(description = "人民币单价")
	private String unitPriceRmb;

	@Schema(description = "其他费用-人民币")
	private String otherChargeRmb;

	@Schema(description = "人民币金额")
	private String totalRmb;

	@Schema(description = "备注")
	private String note;

    @Schema(description = "销售id")
    private Long salesId;

	@Schema(description = "销售名")
	private String salesName;

    @Schema(description = "客户Id")
    private Long csId;

	@Schema(description = "客户名")
	private String csName;

    @Schema(description = "状态，Y：已结清，N：未结清")
    private String status;

    @Schema(description = "创建者")
    private Long creator;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createTime;

    @Schema(description = "更新者")
    private Long updater;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date updateTime;

    @Schema(description = "Ghs金额")
    private String totalGhs;

    @Schema(description = "收款明细")
    private List<ReceivePayDetailVO> receivePayDetailVOList;
}